<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>故障信息处理</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="/res/layui/css/layui.css"  media="all">
  <link rel="stylesheet" href="/res/js/common/Viewer/viewer.min.css" />
  <link rel="stylesheet" href="/res/js/common/videJS/video-js.min.css" />
  <link rel="stylesheet" href="/res/css/style.css" media="all">
</head>
<style>
	.layui-form-label{width:140px} 
</style>
<body>
<!--查看弹出层开始-->
<form id="form_look" class="layui-form" style="margin-top:30px;" action="">
    <input type="hidden" id="id" name="id" />	
	<div class="layui-form-item">			
		<label class="layui-form-label"><span style="color:red;">*</span>故障设备</label>
		<div class="layui-input-inline">
		    <input type="text" id="faultequipmentId" class="layui-input" disabled="true">
		</div>
	</div>
	<div class="layui-form-item">	
	    <label class="layui-form-label"><span style="color:red;">*</span>故障状态</label>
       	<div class="layui-input-inline">
       	    <input type="text" id="faultstate"  class="layui-input" disabled="true">				    	  						   
	    </div>
   	</div>
   	<div class="layui-form-item">
		<label  class="layui-form-label"><span style="color:red;">*</span>故障描述</label>
		<div class="layui-input-inline" style="width:530px;">
		   <textarea id="faultdescribe"  rows="5" lay-verify="" maxlength="100" class="layui-textarea" disabled="true"></textarea>
		</div>
	</div>		
	<div class="layui-form-item">
		<label class="layui-form-label">故障附件查看</label>
		<div class="layui-input-inline" style="width:530px">
			<blockquote class="layui-elem-quote layui-quote-nm " >
		        <div class="layui-upload-list" style="text-align: left;">
		            <table id="faultfilelist" lay-filter="test"></table>
		        </div>
			</blockquote>
		</div>		
	</div>	
	<div class="layui-form-item">
		<label  class="layui-form-label">故障记录备注</label>
		<div class="layui-input-inline" style="width:530px;">
		   <textarea id="faultremarks" name="" rows="5"  placeholder="" class="layui-textarea" disabled="true"></textarea>
		</div>
	</div>
		
	<!-- 故障处理 -->
	<div class="layui-form-item">
		<label  class="layui-form-label">故障处理描述</label>
		<div class="layui-input-inline" style="width:530px;">
		   <textarea id="handleDescribe" name="handleDescribe" rows="5" lay-verify="fhandleDescribe" maxlength="100" class="layui-textarea" ></textarea>
		</div>
	</div>	
    <div class="layui-form-item">	
	    <label class="layui-form-label"><span style="color:red;">*</span>故障处理状态</label>
       	<div class="layui-input-inline">
       	    <select name="state" id="state" placeholder="状态" lay-verify="fhandlestate" lay-filter="fhandlestate" selectTypeMain="fault_state" >
		      <option value="">请选择状态</option>	 
		    </select>			    	  						   
	    </div>
   	</div>	
	<div class="layui-form-item" id="imgp1">
	    <label class="layui-form-label">上传处理附件</label>	
		<div class="layui-upload" style="text-align: left;">
		  <button type="button" class="layui-btn layui-btn-normal" id="testList">选择附件</button> 
		  <div class="layui-upload-list up-img"  style="margin-left:170px">
		    <table class="layui-table" style="width:530px">
		      <thead>
		        <tr>
		          <th>文件名</th>
		          <th>操作</th>
		        </tr>
		       </thead>
		      <tbody id="demoList"></tbody>
		    </table>
		  </div>
		</div>
	</div>
	<div class="layui-form-item" style="margin-top:30px">
	    <div class="layui-input-block">
	      <button class="layui-btn layui-btn-normal" lay-submit lay-filter="formDemo">提交</button>
		  <button class="layui-btn layui-btn-primary" onclick="historyBack()">返回</button>
	    </div>
	</div>			
</form>
<script src="/res/js/common/jquery-3.2.1.min.js"></script>
<script src="/res/js/common/app.js"></script>
<script src="/res/js/common/Viewer/viewer.min.js"></script>
<script src="/res/js/common/videJS/video.min.js"></script>
<script src="/res/js/validate.js"></script>
<script src="/res/layui/layui.js"></script>
<script src="/res/js/equipmentFault/equipmentFault_handle.js"></script>
</body>
</html>